package com.ruoyi.process.pipemaintainence.mapper;


import com.ruoyi.process.pipemaintainence.domain.BpmnCopyProcess;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BpmnCopyProcessMapper {

    int deleteByPrimaryKey(String id);

    int insert(BpmnCopyProcess record);

    int insertSelective(BpmnCopyProcess record);

    BpmnCopyProcess selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(BpmnCopyProcess record);

    int updateByPrimaryKey(BpmnCopyProcess record);

    List<BpmnCopyProcess> findByUserId(String userId);

    List<String> findReceiverByProceInstanceId(String processInstanceId);

    List<BpmnCopyProcess> findByBusinessKey(String businessKey);
}